package com.lingjtx.common.api.feign;

import com.lingjtx.common.api.vo.UserInfoVo;
import com.lingjtx.common.core.constant.ServiceName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(name = ServiceName.USER)
public interface RemoteUserClient {

    @GetMapping("/get_user_info")
    UserInfoVo getUserInfo();
}
